package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 个人应用对象 app_personal_center
 * 
 * @author ruoyi
 * @date 2021-07-30
 */
public class AppPersonalCenter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 个人应用表id */
    private Long id;

    /** 应用名字 */
    @Excel(name = "应用名字")
    private String name;

    /** 网站id */
    @Excel(name = "网站id")
    private String siteId;

    /** logo链接 */
    @Excel(name = "logo链接")
    private String logoUrl;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 状态 0启用 1禁用 */
    @Excel(name = "状态 0启用 1禁用")
    private Integer state;

    /** 添加人 */
    @Excel(name = "添加人")
    private String appSysUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSiteId(String siteId)
    {
        this.siteId = siteId;
    }

    public String getSiteId()
    {
        return siteId;
    }
    public void setLogoUrl(String logoUrl) { this.logoUrl = logoUrl; }

    public String getLogoUrl() { return logoUrl; }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setAppSysUser(String appSysUser) 
    {
        this.appSysUser = appSysUser;
    }

    public String getAppSysUser() 
    {
        return appSysUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("logoUrl", getLogoUrl())
            .append("siteId", getSiteId())
            .append("sort", getSort())
            .append("state", getState())
            .append("appSysUser", getAppSysUser())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
